<template>
	<view class="flex items-center" style="z-index: 100; font-size: 26rpx; line-height: 24rpx">
		<view class="flex items-center" @click="isShowPrivas = !isShowPrivas">
			<image v-show="!isShowPrivas" src="/static/images/public_imgs/select.png" style="width: 26rpx; height: 26rpx" mode=""> </image>
			<image v-show="isShowPrivas" src="/static/images/public_imgs/selecting.png" style="width: 26rpx; height: 26rpx" mode=""> </image>
			<view class="" style="margin-left: 10rpx; color: #FFF"> 我已阅读并同意: </view>
		</view>
		
		<view style="color: #63FFF7;" @click="privacyContent">《购买协议》&《隐私条款》</view>
	</view>
</template>

<script>
	export default {
		name: 'comMpPrivacy',
		props: {
			value: Boolean,
		},
		data() {
			return {
				
			};
		},
		computed: {
			isShowPrivas: {
				get() {
					return this.value
				},
				set(v) {
					this.$emit('input', v)
				},
			
			},
		},
		methods: {
			privacyContent() {
				this.$store.commit('SHOW_PRIVACY_SET_FUN', true);
			}
		}
	};
</script>

<style lang="scss"></style>
